﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ORMapping;

namespace DAL
{
    public class IntegrationViewDAL
    {
        private EntityControl<IntegrationView> control;
        public IntegrationViewDAL()
        {
            control = EntityControl<IntegrationView>.CreateEntityControl("ORMapping");
        }

        public IList<IntegrationView> GetAllCards(string strHQL, System.Collections.Generic.List<HQLParameter> hp)
        {
            return control.GetEntities(strHQL, hp);
        }
    }
}
